#!/bin/bash
cd /etc/yum.repos.d/
mkdir bak
mv *.repo bak
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
cd -
cp repo/epel*.repo /etc/yum.repos.d/
yum clean all
yum makecache
yum install -y gcc gcc-c++ openssl openssl-devel autoconf flex bison libjpeg-turbo-devel  
yum install -y freetype-devel zlib-devel zeromq-devel gdbm-devel ncurses-devel  
yum install -y automake libtool libffi-devel curl git tmux wget libxml2-devel libxslt-devel  

